package com.mmo.cq.game.script.proto.guild.controller;

import com.alibaba.fastjson.JSONObject;
import com.mmo.cq.game.script.proto.guild.message.ReqGuildList;
import com.mmo.cq.game.script.proto.guild.message.ResGuildList;
import com.mmo.cq.game.server.bean.user.UserInfo;
import org.wxd.net.SocketSession;
import org.wxd.net.controller.IController;
import org.wxd.net.controller.MessageController;
import org.wxd.net.controller.ann.ProtoController;
import org.wxd.net.controller.ann.ProtoMapping;

/**
 * 公会列表 file=Guild.proto
 *
 * @author: Troy.Chen(無心道, 15388152619)
 * @version: 2023/02/06 11:00:31
 */
@ProtoController(service = "org.wxd.net.web.ws.WebSocketServer")
public final class ReqGuildListController implements IController {

    /** 公会列表 ReqGuildList */
    @ProtoMapping(remarks = "公会列表")
    public void exec(ReqGuildList reqMessage, JSONObject param, SocketSession session) throws Exception {
        UserInfo userInfo = (UserInfo) param.get(MessageController.OBJ_Player);
        ResGuildList.Builder res4Builder = ResGuildList.newBuilder();
    }
}
